package org.eiahe.hr.interview.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.common.mybatis.core.page.PageQuery;
import org.ehe.common.mybatis.core.page.TableDataInfo;
import org.eiahe.hr.interview.domain.InterviewBehaviorTestRecords;
import org.eiahe.hr.interview.domain.vo.InterviewBehaviorTestRecordsVO;
import org.eiahe.hr.interview.domain.dto.InterviewBehaviorTestRecordsQueryDTO;
import org.eiahe.hr.interview.domain.dto.InterviewRecordResultDTO;

import java.util.List;

/**
 * @author :zhangnn
 * @className :InterviewBehaviorTestRecordsService
 * @description: TODO
 * @date 2025-08-20 14:46:57
 */
public interface InterviewBehaviorTestRecordsService extends IService<InterviewBehaviorTestRecords> {
    /**
     * 保存行为分析能力测试结果
     * @param recordDTO
     */
    boolean insertTestRecords(InterviewRecordResultDTO recordDTO);

    /**
     * 行为测试列表分页
     * @param queryDTO
     * @param pageQuery
     * @return
     */
    TableDataInfo<InterviewBehaviorTestRecordsVO> behaviorTestRecords(InterviewBehaviorTestRecordsQueryDTO queryDTO, PageQuery pageQuery);

    /**
     * 根据code查看结果
     * @param code
     * @return
     */
    InterviewBehaviorTestRecords selectByCode(String code);

    List<InterviewBehaviorTestRecordsVO> queryList(Long candidateId, Long bankId);
}
